#ifndef LOGWIDGET_H
#define LOGWIDGET_H

#include <QWidget>
#include <QTextBrowser>

class LogWidget : public QWidget
{
    Q_OBJECT

public:
    static LogWidget* instance();
    ~LogWidget();
    void log(QString& string);
private:
    LogWidget(const LogWidget&);
    LogWidget& operator= (const LogWidget&);
    LogWidget(QWidget *parent = 0);
    QTextBrowser *browser;
    static LogWidget* pinstance;
};

class InfoWidget: public QWidget{
	Q_OBJECT
public:
	InfoWidget(QWidget *parent=0);
	~InfoWidget();
private:
	QTextBrowser *browser;
};


#endif // LOGWIDGET_H
